
<div class="hotshot_item rc_main">
<div class="hotshot_img"><?php 
$image='/images/shop_default.jpg';
if(!empty($hotshot->images)){
	$image=$hotshot->images[0]->thumbPath;
}

echo CHtml::link(CHtml::image(Yii::app()->baseUrl.$image,CHtml::encode($hotshot->name)),array('/coffeeShop/viewshop','id'=>$hotshot->id));
?></div>

<div class="extra_info"><?php if($hotshot->isHotshot()){?>
<div class="hotshotbox"></div>
<?php } ?> <?php if($hotshot->isTop100()){?>
<div class="top100box"></div>
<?php } ?></div>

<div class="hotshot_content">
<h3><?php echo CHtml::link($hotshot->name,array('coffeeShop/viewShop','id'=>$hotshot->id));?><span
	class="mcr_id">ID: <?php echo $hotshot->getVoteId();?></span></h3>
<?php if(!empty($hotshot->phone)) {
	?>
<p><label>Phone:</label><span><?php echo $hotshot->phone ; ?></span></p>
	<?php
} ?>
<p><label>Address:</label><span><?php echo $hotshot->street; ?><br />
<?php echo $hotshot->suburb; ?> <?php echo $hotshot->city; ?> <?php echo $hotshot->state; ?> <?php echo $hotshot->postcode; ?>
 <?php echo $hotshot->country; ?></span></p>
<?php if($hotshot->coffeeBrand&&$hotshot->coffeeBrand!='NULL'){ ?>
<p><label>Coffee Used:</label><span><?php echo $hotshot->coffeeBrand;?></span></p>
<?php } ?>
<p><label>Bean Rating:</label><span class="bean_rating"><?php echo $hotshot->beanRating;?></span></p>

</div>

<div class="clear"></div>
</div>
